WIP: generalize post test debug#1072
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: DavidRajnoha The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Skipping CI for Draft Pull Request. |
Cache the full ClusterVersion object during Framework.Setup() so that SkipIfClusterVersionBelow uses the cached value instead of making a redundant API call. Also add a comment explaining the unique suffix for rule names. Made-with: Cursor
Introduce a composable DebugFunc interface and DumpOnFailure helper in the e2e framework. Tests register debug functions (namespace dumps, CR-specific diagnostics) that only run when the test fails. Apply it across all e2e test suites for consistent post-failure diagnostics. Includes temporary ForceFailure calls (marked TODO: remove) to exercise the debug dump output. Made-with: Cursor
5aec1d8 to
7a4d05b
Compare
|
Example of debug log, full output attached: |
|
Superseded by a cleaner PR without temporary test scaffolding. |
Follow Up of #1038